-
Home
-
Shopz GraphQL API for WooCommerce
-
2.1.3
-
Code
-
Classes
- Product
Total Complexity |
45 |
Dependencies |
6 |
Dependents |
9 |
Total lines |
215 |
Lines of code |
161 |
Logical lines of code |
70 |
Comment lines |
0 |
Methods |
19 |
Properties |
3 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_gallery() |
S |
51 |
6 |
26 |
to_schema() |
S |
48 |
3 |
31 |
getProductFromIdentifier() |
S |
61 |
4 |
12 |
get_sale_price() |
S |
66 |
4 |
7 |
get_regular_price() |
S |
66 |
4 |
7 |
getBySlug() |
S |
71 |
3 |
5 |
isAnyVariationInStock() |
S |
68 |
3 |
8 |
getProductsOnSale() |
S |
60 |
2 |
13 |
set_product() |
S |
68 |
2 |
7 |
set_description() |
S |
74 |
2 |
5 |
isProduct() |
S |
78 |
2 |
3 |
set_name() |
S |
74 |
2 |
5 |
getById() |
S |
74 |
2 |
4 |
get_product() |
S |
82 |
1 |
3 |
get_description() |
S |
73 |
1 |
6 |
get_name() |
S |
73 |
1 |
6 |
get_id() |
S |
81 |
1 |
3 |
getRelatedProducts() |
S |
68 |
1 |
7 |
__construct() |
S |
81 |
1 |
3 |